wayland: Use wp_viewport to set buffer scale
authorBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 12:41:30 +0000 (14:41 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 18:05:01 +0000 (20:05 +0200)
commit1a71e82fc52f896bbb6a87d113e4fe9c9dc8937d
treef5e9d7db3ff34115b0a0bf8fe2a0e9cb33fc16c8
parent8dd5d649b8848addba260db60a77236106b1a0ba
wayland: Use wp_viewport to set buffer scale

Instead of setting the buffer scale via the buffer-scale command, set it
via the viewport.

This technically allows setting fractional scales, but we're not doing
that.
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdksurface-wayland-private.h
gdk/wayland/gdksurface-wayland.c
gdk/wayland/meson.build